package com.manhanlou.utils;

import org.junit.Test;

import java.sql.Connection;
import java.util.Scanner;

/**
 * @author wty
 * @date 2022/11/9 0:36
 */
public class TestDao {
    @Test
    public void testDao() {
        // 测试
        System.out.println("请输入一个整数");
        int i = Utility.readInt();
        System.out.println(i);

        Connection connection = DruidUtils.getConnection();
        System.out.println(connection.getClass());
        DruidUtils.close(null, null, connection);

    }
}
